package com.lxmes.device.mapper;

import java.util.List;
import com.lxmes.device.domain.FwAppointment;

/**
 * 维修预约Mapper接口
 * 
 * @author zhangzhiyu
 * @date 2023-05-11
 */
public interface FwAppointmentMapper 
{
    /**
     * 查询维修预约
     * 
     * @param id 维修预约主键
     * @return 维修预约
     */
    public FwAppointment selectFwAppointmentById(Long id);

    /**
     * 查询维修预约列表
     * 
     * @param fwAppointment 维修预约
     * @return 维修预约集合
     */
    public List<FwAppointment> selectFwAppointmentList(FwAppointment fwAppointment);

    /**
     * 新增维修预约
     * 
     * @param fwAppointment 维修预约
     * @return 结果
     */
    public int insertFwAppointment(FwAppointment fwAppointment);

    /**
     * 修改维修预约
     * 
     * @param fwAppointment 维修预约
     * @return 结果
     */
    public int updateFwAppointment(FwAppointment fwAppointment);

    /**
     * 删除维修预约
     * 
     * @param id 维修预约主键
     * @return 结果
     */
    public int deleteFwAppointmentById(Long id);

    /**
     * 批量删除维修预约
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFwAppointmentByIds(Long[] ids);
}
